<!DOCTYPE HTML>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="maximum-scale=1.0, minimum-scale=1.0, user-scalable=0, initial-scale=1.0, width=device-width" />
    <meta name="format-detection" content="telephone=no, email=no, date=no, address=no">
    <title>Hello APP</title>
    <link rel="stylesheet" type="text/css" href="../css/aui-flex.css" />
    <link rel="stylesheet" type="text/css" href="../css/aui.css" />
    <link rel="stylesheet" type="text/css" href="../css/common.css" />
    <style>
        /*弹窗*/
        body {
            background: transparent;
        }
        .popBox{
          left: 1.9rem;
          right: 1.9rem;
          background: transparent;
        }
        .popBox .popInner{
          padding: 0 1rem;
          border-radius: 0.2rem;
          height: 8.4rem;
        }
        .popCen{
          font-size:0.6rem;
          line-height: 1rem;
          padding: 0.85rem 0;
          color: #010101;
        }
        .popBox.mid {
            top: 50%;
            -webkit-transform: translate(0, -50%);
            transform: translate(0, -50%);
        }
        .popBox .closeX img{
          margin: 2rem auto;
        }
    </style>
</head>
<body>
    <div class="popOverlay" tapmode onClick="api.closeFrame();"></div>
    <div class="popBox mid">
      <div class="bg-white popInner">
        <div class="popTitle aui-border-b">今日收益</div>
        <div class="popCen">
          <div id="concent"></div>
          <div id="update">数据实时更新</div>
        </div>
      </div>
      <div class="closeX" tapmode onclick="closeX()"><img src="../image/common/29.png" style="height:1.6rem" alt=""></div>
    </div>
</body>
<script type="text/javascript" src="../script/import.js"></script>
<script type="text/javascript" src="../script/common.js"></script>
<script type="text/javascript">
    apiready = function() {
        api.parseTapmode();
        var title = api.pageParam.title;
        $$('.popTitle').text(title);
        if(title == '累计总收入'){
          $$("#concent").html("所有历史累计的个人分享佣金总和。</br> <b>订单包括：</b>已付款、已收货待结算、已结算，不包括已失效。");
          $$('#update').text('数据次日更新')
        }
        if(title == '今日收益'){
          $$("#concent").html("统计今天的截止到现在，您的分享佣金。订单计算中的未计入，一般10分钟内完成后将自动更新。");
        }
        if(title == '上月结算'){
          $$("#concent").html("统计上月结算的分享佣金。");
        }
        if(title == '本月预估'){
          $$("#concent").html("统计本月的截止到现在，预估的分享佣金。");
        }

    };
    function closeX(){
      api.closeFrame();
    }
</script>
</html>
